From: Tim Lunn Date: Tue, 5 Mar 2013 06:49:35 +0000 (+1100) Subject: layout: fix errors in fallback HotCorner function X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4540 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6c3685649921790feb00616f5a840debce3e1d85;p=gnome-shell.git layout: fix errors in fallback HotCorner function --- diff --git a/js/ui/layout.js b/js/ui/layout.js index 63d040dd3..6ca5d841f 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -1112,7 +1112,7 @@ const HotCorner = new Lang.Class({ this._x = x; this._y = y; - this._setupFallbackCornerIfNeeded(); + this._setupFallbackCornerIfNeeded(layoutManager); this._pressureBarrier = new PressureBarrier(HOT_CORNER_PRESSURE_THRESHOLD, HOT_CORNER_PRESSURE_TIMEOUT, @@ -1156,10 +1156,10 @@ const HotCorner = new Lang.Class({ } }, - _setupFallbackCornerIfNeeded: function() { + _setupFallbackCornerIfNeeded: function(layoutManager) { if (!global.display.supports_extended_barriers()) { this.actor = new Clutter.Actor({ name: 'hot-corner-environs', - x: x, y: y, + x: this._x, y: this._y, width: 3, height: 3, reactive: true });